﻿<UserControl x:Class="ModernControls.NumberChanger"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="30" d:DesignWidth="301">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Button Content="-"  Grid.Column="0" x:Name="decButton" Click="decButton_Click" />
        <TextBlock Grid.Column="1" x:Name="ValueTextblock" TextAlignment="Center" VerticalAlignment="Center"/>
        <Button Content="+" Grid.Column="2" x:Name="incButton" Click="incButton_Click" />
    </Grid>
</UserControl>
